using System;
using System.Text;
using System.Reflection;
using System.ServiceModel;
using System.Collections.Generic;
using System.Runtime.Serialization;
using TDS = Tridion.ContentManager.Interop.TDS;
using TDSDefines = Tridion.ContentManager.Interop.TDSDefines;



#pragma warning disable 649
namespace Tridion.Gateway
{
	[DataContract]
	public class Group:Facade
	{
        internal Group(TDS.Group Group, bool ShallowCopy)
            : base(typeof(TDS._Group), Group, ShallowCopy)
		{
		}

		[DataMember(Name="itemType")]
		private TDSDefines.ItemType itemtype;
		public TDSDefines.ItemType itemType
		{
			 get { return itemtype; }
		}


		[DataMember(Name="ID")]
		private String id;
		public String ID
		{
			 get { return id; }
		}


		[DataMember(Name="Name")]
		private String name;
		public String Name
		{
			 get { return name; }
			 set { name = value; }
		}


		[DataMember(Name="Publication")]
		private Publication publication;
		public Publication Publication
		{
			 get { return publication; }
		}


		[DataMember(Name="Description")]
		private String description;
		public String Description
		{
			 get { return description; }
			 set { description = value; }
		}


		[DataMember(Name="IsPredefined")]
		private Boolean ispredefined;
		public Boolean IsPredefined
		{
			 get { return ispredefined; }
		}

        //TODO:Fix
        //[DataMember(Name="GroupMemberships")]
        //private GroupMemberships groupmemberships;
        //public GroupMemberships GroupMemberships
        //{
        //     get { return groupmemberships; }
        //     set { groupmemberships = value; }
        //}


		[DataMember(Name="UsageConstraints")]
		private Publication[] usageconstraints;
		public Publication[] UsageConstraints
		{
			 get { return usageconstraints; }
			 set { usageconstraints = value; }
		}


        protected override void Initialize(FieldInfo field, PropertyInfo property, Object value)
        {

        }

	}
}

/*
			System.String GetXML(Tridion.ContentManager.Interop.TDSDefines.XMLReadFilter)
			Void UpdateXML(System.String)
			Void Save(Boolean)
			Void Delete()
			Void let_UsageConstraints(Tridion.ContentManager.Interop.TDS.Publications)
			System.String GetXMLApplicableUsageConstraints()
			Tridion.ContentManager.Interop.TDS.Publications GetObjectApplicableUsageConstraints()
			System.String GetMembersList()
			Void SetPermissions(System.String, System.String)
*/
